//
//  ChaoJiZhiYouXing.m
//  MDDNew
//
//  Created by 孙昊坤 on 15/10/29.
//  Copyright © 2015年 heqing. All rights reserved.
//

#pragma mark -- 超级自由行

#import "ChaoJiZhiYouXing.h"

@interface ChaoJiZhiYouXing ()

@end

@implementation ChaoJiZhiYouXing

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self addWebView];
    
}

// 添加webView
- (void)addWebView
{
    UIWebView * webView = [[UIWebView alloc] initWithFrame:[UIScreen mainScreen].bounds];
    
    NSString *string = [NSString stringWithFormat:@"http://m.qyer.com/z/deal/%@/?source=app&client_id=qyer_ios&track_app_version=6.8&track_deviceid=3D292DEC-1F82-4FE7-9AE7-A1866F5F24E7", self.ids];
    
    NSURLRequest *request =[NSURLRequest requestWithURL:[NSURL URLWithString:string]];
    [self.view addSubview: webView];
    [webView loadRequest:request];
    
}

// http://open.qyer.com/qyer/discount/tickets_freewalker?client_id=qyer_ios&client_secret=cd254439208ab658ddf9&count=20&id=233&lat=40.02931244757757&lon=116.3372840631773&order=2&page=1&product_type=1016%2C1018%2C1020&time=1&track_app_channel=App%2520Store&track_app_version=6.8&track_device_info=iPhone7%2C1&track_deviceid=3D292DEC-1F82-4FE7-9AE7-A1866F5F24E7&track_os=ios%25209.0.2&type=1&v=1

// http://open.qyer.com/qyer/discount/tickets_freewalker?client_id=qyer_ios&client_secret=cd254439208ab658ddf9&count=20&id=11&lat=40.02931244757757&lon=116.3372840631773&order=2&page=1&product_type=1016%2C1018%2C1020&time=1&track_app_channel=App%2520Store&track_app_version=6.8&track_device_info=iPhone7%2C1&track_deviceid=3D292DEC-1F82-4FE7-9AE7-A1866F5F24E7&track_os=ios%25209.0.2&type=1&v=1

// http://m.qyer.com/z/deal/57851/?source=app&client_id=qyer_ios&track_app_version=6.8&track_deviceid=3D292DEC-1F82-4FE7-9AE7-A1866F5F24E7

// http://m.qyer.com/z/deal/57903/?source=app&client_id=qyer_ios&track_app_version=6.8&track_deviceid=3D292DEC-1F82-4FE7-9AE7-A1866F5F24E7

// http://m.qyer.com/z/deal/58224/?source=app&client_id=qyer_ios&track_app_version=6.8&track_deviceid=3D292DEC-1F82-4FE7-9AE7-A1866F5F24E7

@end
